package com.courseware.online.dao;

import com.courseware.online.entity.Page;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author : demos
 */
@Mapper
public interface PageDao {
    List<Page> getPageList(int coursewareId);

    int insertBatch(List<Page> pages);

    int deleteByCoursewareId(int coursewareId);
}
